package org.microsleep.sqlite;

import org.microsleep.Property;
import org.microsleep.Type;

import android.database.Cursor;
import android.database.sqlite.SQLiteStatement;

public interface SQLiteType<T> extends Type {
	String getSQLDefinition();

	T getJavaValue(Cursor db, int index);

	void bindInStatement(SQLiteStatement statement, int index,
			Property property, T value);
}
